

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   bd.java

package com.zelix;

import java.io.PrintWriter;
import java.util.*;

// Referenced classes of package com.zelix:
//            zc, yc, it, fh, 
//            dd, tb, fd, gd, 
//            ed, il, gj, nh, 
//            lt, mu, mt, lu, 
//            ou, px

public final class bd extends zc
{

    private static String z[];

    public bd(it it1, Vector vector, nh nh1)
        throws tb
    {
        super(it1, vector, nh1);
        if(it1.k())
        {
            a(it1.j(), it1.A());
            k();
            l();
        }
    }

    public void a(dd dd1, fd fd1, gd gd1, PrintWriter printwriter)
    {
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        printwriter.println(z[2]);
        enumeration = e();
        if(!flag) goto _L2; else goto _L1
_L1:
        mt mt1 = (mt)enumeration.nextElement();
        String s = (String)super.f.get(mt1);
        String s1 = mt1.m();
        if(s1 != null && s1.length() > 0)
            dd1.c(s1, z[0] + s + "'");
        dd1.a(mt1, z[0] + s + "'");
_L2:
        if(enumeration.hasMoreElements()) goto _L1; else goto _L3
_L3:
        Enumeration enumeration1 = f();
        if(!flag) goto _L5; else goto _L4
_L4:
        lu lu1 = (lu)enumeration1.nextElement();
        String s2 = (String)super.j.get(lu1);
        dd1.a(lu1, z[0] + s2 + "'");
_L5:
        if(enumeration1.hasMoreElements()) goto _L4; else goto _L6
_L6:
        Enumeration enumeration2 = g();
        if(!flag) goto _L8; else goto _L7
_L7:
        ou ou1 = (ou)enumeration2.nextElement();
        String s3 = (String)super.h.get(ou1);
        dd1.a(ou1, z[0] + s3 + "'");
_L8:
        if(enumeration2.hasMoreElements()) goto _L7; else goto _L9
_L9:
        Iterator iterator = super.k.iterator();
        if(!flag) goto _L11; else goto _L10
_L10:
        mt mt2 = (mt)iterator.next();
        String s4 = lt.a(mt2.j());
        if(fd1 != null)
            fd1.a(mt2, z[0] + s4 + "'");
        if(gd1 != null)
            gd1.a(mt2, z[0] + s4 + "'");
_L11:
        if(!iterator.hasNext())
            return;
        if(true) goto _L10; else goto _L12
_L12:
    }

    public final void a(ed ed1, PrintWriter printwriter)
    {
        Iterator iterator;
        boolean flag;
        flag = tb.b;
        printwriter.println(z[1]);
        iterator = super.k.iterator();
        if(!flag) goto _L2; else goto _L1
_L1:
        mt mt1;
        String s;
        cv cv;
        mt1 = (mt)iterator.next();
        s = lt.a(mt1.j());
        ed1.a(mt1, z[0] + s + "'");
        cv = mt1.U();
        if(!flag) goto _L4; else goto _L3
_L3:
        lu lu1 = (lu)cv.nextElement();
        ed1.a(lu1, z[0] + s + "'");
_L4:
        if(cv.hasMoreElements()) goto _L3; else goto _L5
_L5:
        cv cv1 = mt1.cb();
        if(!flag) goto _L7; else goto _L6
_L6:
        ou ou1 = (ou)cv1.nextElement();
        ed1.a(ou1, z[0] + s + "'");
_L7:
        if(cv1.hasMoreElements()) goto _L6; else goto _L2
_L2:
        if(!iterator.hasNext())
            return;
        if(true) goto _L1; else goto _L8
_L8:
    }

    private final void k()
    {
        int i;
        Hashtable hashtable;
        Vector vector;
        int j;
        boolean flag;
        flag = tb.b;
        i = super.a.size();
        hashtable = new Hashtable();
        vector = new Vector();
        j = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        Enumeration enumeration;
        gj gj1 = (gj)super.a.elementAt(j);
        enumeration = gj1.i();
        if(!flag) goto _L4; else goto _L3
_L3:
        Object obj = enumeration.nextElement();
        if(!hashtable.containsKey(obj))
        {
            hashtable.put(obj, obj);
            vector.addElement(obj);
        }
_L4:
        if(enumeration.hasMoreElements()) goto _L3; else goto _L5
_L5:
        j++;
_L2:
        if(j < i) goto _L1; else goto _L6
_L6:
        if(!super.b.z() || vector.size() <= 0) goto _L8; else goto _L7
_L7:
        int i1;
        super.c.println(z[5]);
        i1 = vector.size() - 1;
        if(!flag) goto _L10; else goto _L9
_L9:
        super.c.println(z[4] + vector.elementAt(i1) + "\"");
        i1--;
_L10:
        if(i1 >= 0) goto _L9; else goto _L8
_L8:
        i1 = vector.size() - 1;
        if(!flag) goto _L12; else goto _L11
_L11:
        il il1 = (il)vector.elementAt(i1);
        if(!il1.w())
        {
            super.b.e(z[6] + il1 + z[9], true);
            if(!flag)
                continue;
        }
        if(il1.v())
        {
            super.b.e(z[6] + il1 + z[8], true);
            if(!flag)
                continue;
        }
        if(il1.u())
            super.b.e(z[6] + il1 + z[7] + "+" + z[3], true);
        il1.a(this);
        i1--;
_L12:
        if(i1 < 0)
            return;
        if(true) goto _L11; else goto _L13
_L13:
    }

    public final void a(lu lu1, mt mt1)
    {
        lu lu2 = (lu)super.i.remove(lu1);
        if(lu2 != null)
        {
            Object obj = super.j.put(lu1, lt.a(mt1.j()));
            mt mt2 = lu1.P();
            if(mt2 != null && !a(mt2))
                a(mt2, mt1);
        }
    }

    public final void a(ou ou1, mt mt1)
    {
        ou ou2;
        boolean flag;
        flag = tb.b;
        ou2 = (ou)super.g.remove(ou1);
        if(ou2 == null) goto _L2; else goto _L1
_L1:
        ArrayList arraylist;
        Object obj = super.h.put(ou1, lt.a(mt1.j()));
        arraylist = ou1.W();
        if(arraylist == null) goto _L2; else goto _L3
_L3:
        int i = 0;
        if(!flag) goto _L5; else goto _L4
_L4:
        mt mt2 = (mt)arraylist.get(i);
        if(!a(mt2))
            a(mt2, mt1);
        i++;
_L5:
        if(i < arraylist.size()) goto _L4; else goto _L2
_L2:
    }

    private void l()
        throws tb
    {
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        enumeration = e();
        Hashtable hashtable = new Hashtable();
        if(!flag) goto _L2; else goto _L1
_L1:
        mt mt1;
        String as[];
        int i;
        mt1 = (mt)enumeration.nextElement();
        String s = mt1.z();
        if(s != null)
        {
            mt mt2 = fh.a(s);
            if(mt2 != null && !a(mt2))
                a(mt2, mt1);
        }
        as = mt1.u();
        i = 0;
        if(!flag) goto _L4; else goto _L3
_L3:
        String s1 = as[i];
        mt mt3 = fh.a(s1);
        if(mt3 != null && !a(mt3))
            a(mt3, mt1);
        i++;
_L4:
        if(i < as.length) goto _L3; else goto _L5
_L5:
        ju aju[];
        int j;
        aju = mt1.T();
        j = 0;
        if(!flag) goto _L7; else goto _L6
_L6:
        a((lu)aju[j], mt1);
        j++;
_L7:
        if(j < aju.length) goto _L6; else goto _L8
_L8:
        mu amu[];
        int i1;
        amu = mt1.w();
        i1 = 0;
        if(!flag) goto _L10; else goto _L9
_L9:
        a((ou)amu[i1], mt1);
        i1++;
_L10:
        if(i1 < amu.length) goto _L9; else goto _L11
_L11:
        HashSet hashset1;
        HashSet hashset2;
        Iterator iterator;
        HashSet hashset = new HashSet();
        hashset1 = new HashSet();
        hashset2 = new HashSet();
        mt1.a(hashset, hashset1, hashset2);
        iterator = hashset.iterator();
        if(!flag) goto _L13; else goto _L12
_L12:
        mt mt4 = (mt)iterator.next();
        if(!a(mt4))
            a(mt4, mt1);
_L13:
        if(iterator.hasNext()) goto _L12; else goto _L14
_L14:
        Iterator iterator1 = hashset1.iterator();
        if(!flag) goto _L16; else goto _L15
_L15:
        lu lu1 = (lu)iterator1.next();
        if(!a(lu1))
            a(lu1, mt1);
_L16:
        if(iterator1.hasNext()) goto _L15; else goto _L17
_L17:
        Iterator iterator2 = hashset2.iterator();
        if(!flag) goto _L19; else goto _L18
_L18:
        ou ou1 = (ou)iterator2.next();
        if(!a(ou1))
            a(ou1, mt1);
_L19:
        if(iterator2.hasNext()) goto _L18; else goto _L2
_L2:
        if(!enumeration.hasMoreElements())
            return;
        if(true) goto _L1; else goto _L20
_L20:
    }

    final void a(Enumeration enumeration, int i)
    {
        boolean flag;
        flag = tb.b;
        super.e = new Hashtable(px.a(i));
        super.f = new Hashtable(px.a(i));
        super.i = new Hashtable(px.a(i * 5));
        super.j = new Hashtable(px.a(i * 5));
        super.g = new Hashtable(px.a(i * 5));
        super.h = new Hashtable(px.a(i * 5));
        if(!flag) goto _L2; else goto _L1
_L1:
        mt mt1;
        cv cv;
        mt1 = (mt)enumeration.nextElement();
        super.e.put(mt1, mt1);
        cv = mt1.U();
        if(!flag) goto _L4; else goto _L3
_L3:
        Object obj = cv.nextElement();
        super.i.put(obj, obj);
_L4:
        if(cv.hasMoreElements()) goto _L3; else goto _L5
_L5:
        cv cv1 = mt1.cb();
        if(!flag) goto _L7; else goto _L6
_L6:
        ou ou1 = (ou)cv1.nextElement();
        if(!ou1.U() && !ou1.T())
            super.g.put(ou1, ou1);
_L7:
        if(cv1.hasMoreElements()) goto _L6; else goto _L2
_L2:
        if(!enumeration.hasMoreElements())
            return;
        if(true) goto _L1; else goto _L8
_L8:
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x11;
                    break;
                case 1:
                    key = 63;
                    break;
                case 2:
                    key = 36;
                    break;
                case 3:
                    key = 60;
                    break;
                default:
                    key = 107;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[];
        as = new String[10];
        as[0] = "WV\\Y\0171\\H]\030b\037\003";
        as[1] = "\030~TL\007hVJ[KeMMQKtGGP\036bVKR\0301LTY\bxYMY\0171]]\034\rxGAX(}^WO\016b\037WH\neZIY\005e";
        as[2] = "\030~TL\007hVJ[KtGGP\036bVKR\0301LTY\bxYMY\0171]]\034\rxGAX(}^WO\016b\037WH\neZIY\005e";
        as[3] = "6\037P]\f?\037pT\0161KE[KfVHPKsZ\004U\f\177PVY\017?";
        as[4] = "\0306\006";
        as[5] = "\030yMD\016u\037GP\nbLAOKa^V]\006tKAN\030+";
        as[6] = "A^V]\006tKANK6";
        as[7] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKr^JR\004e\037QO\0161KLYK6";
        as[8] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKr^JR\004e\037QO\0161KLYK6\003HU\005z\001\003\034\030hQP]\023?\037mHKfVHPKsZ\004U\f\177PVY\017?";
        as[9] = "6\037MRK6YMD\016u|H]\030bZW\033KbKEH\016|ZJHKxL\004R\004e\037E\034\b}^WOKtGGP\036bVKRKa^V]\006tKANE1vP\034\034xSH\034\tt\037M[\005~MAXE";
        for(int i = 0; i<as.length;i++){
            as[i] = z(as[i].toCharArray());
        }
        z = as;

    }
}